# New ports collection makefile for:	ccrtp
# Date created:				07 November 2000
# Whom:					David Sugar <dyfet@gnu.org>
#
# Copyright (c) 1999-2001 by Open Source Telecom Corporation. 
# Verbatim copying and distribution of this entire file is permitted
# in any medium, provided this notice is preserved.      

PORTNAME=	ccrtp
PORTVERSION=	@VERSION@
CATEGORIES=	devel
MASTER_SITES=	ftp://www.voxilla.org/pub/freebsd/tarball/

MAINTAINER=	dyfet@gnu.org

LIB_DEPENDS=	ccstd-1.4.0:${PORTSDIR}/devel/commoncpp

USE_GMAKE=	yes
USE_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_AUTOCONF=	yes
INSTALLS_SHLIB=	yes

#post-extract:
#	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
#		's|-release \$$\(LT_RELEASE\)||g'

post-install:
	(cd ${WRKSRC} ; make man)
.if !defined(NOPROTSDOCS)
	${MKDIR} ${PREFIX}/share/doc/ccrtp
	${INSTALL_MAN} ${WRKSRC}/doc/html/* ${PREFIX}/share/doc/ccrtp
.endif

.include <bsd.port.mk>
